<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>按钮练习雪碧图</title>
    <style>
        a:link{
            display: block;
            width: 93px;
            height: 29px;
            background-image: url("./imgs/btn.png");
        }
        a:hover{
            background-position: -93px 0;
        }
        a:active{
            background-position: -186px 0;
        }
        .amazon{
            width: 132px;
            height: 45px;
            background-image: url("./imgs/amazon-sprite_.png");
        }
        .search{
            width: 27px;
            height: 27px;
            background-image: url("./imgs/amazon-sprite_.png");
            background-position: -99px -289px;
        }
    </style>
</head>
<body>
    <a href=""></a>
    <div class="amazon">
    </div>
    <div class="search">

    </div>
</body>
</html>